package com.yonyou.gmmc.service.dealer.model;

import java.util.Date;
import javax.persistence.*;

@Table(name = "TR_DRIVE_GOODS_RELATION")
public class TrDriveGoodsRelation {
    @Id
    @Column(name = "ID")
    @SequenceGenerator(name="",sequenceName="SEQ_TR_DRIVE_GOODS_RELATION")
    private Long id;

    @Column(name = "DRIVE_ID")
    private Long driveId;

    @Column(name = "GOODS_ID")
    private Long goodsId;

    @Column(name = "CREATE_DATE")
    private Date createDate;

    @Column(name = "CREATE_BY")
    private Long createBy;

    @Column(name = "UPDATE_DATE")
    private Date updateDate;

    @Column(name = "UPDATE_BY")
    private Long updateBy;

    /**
     * @return ID
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return DRIVE_ID
     */
    public Long getDriveId() {
        return driveId;
    }

    /**
     * @param driveId
     */
    public void setDriveId(Long driveId) {
        this.driveId = driveId;
    }

    /**
     * @return GOODS_ID
     */
    public Long getGoodsId() {
        return goodsId;
    }

    /**
     * @param goodsId
     */
    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * @return CREATE_DATE
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @return CREATE_BY
     */
    public Long getCreateBy() {
        return createBy;
    }

    /**
     * @param createBy
     */
    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    /**
     * @return UPDATE_DATE
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * @param updateDate
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * @return UPDATE_BY
     */
    public Long getUpdateBy() {
        return updateBy;
    }

    /**
     * @param updateBy
     */
    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }
}